Skip to content

samselikoff/twitterbio

This branch is up to date with Nutlope/twitterbio:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4eed076 · Oct 23, 2024

History

79 Commits
Oct 23, 2024
Oct 23, 2024
Oct 23, 2024
Oct 23, 2024
Jan 17, 2023
Aug 5, 2024
Oct 23, 2024
Mar 6, 2023
Oct 23, 2024
Oct 23, 2024
Jan 14, 2023
Jan 15, 2023
Oct 23, 2024

Repository files navigation

This project generates Twitter (X) bios for you using Together AI.

Twitter Bio Generator

How it works

This project uses both Mixtral 8x7B and Llama 3.1 8B with streaming to generate a Twitter bio. It constructs a prompt based on the form and user input, sends it either to the Together.ai API, then streams the response back to the application.

If you'd like to see how I built an older version of this app with GPT 3.5, check out the video or blog post.

Running Locally

  1. Create a .env file, make an account at Together.ai, and add your API key under TOGETHER_API_KEY
  2. Run the application with npm run dev and it will be available at http://localhost:3000.

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel

About

Generate your Twitter bio with AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.9%
  • CSS 6.8%
  • JavaScript 5.3%